﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValidBox4Mvc.ValidRules;

namespace Domain.Model
{
    public class News :Entity
    {
        /// <summary>
        /// 标题
        /// </summary>
        [Length(30)]
        public string Title{get;set;}

        /// <summary>
        /// 内容
        /// </summary>
        [Length(500)]
        public string Contents { get; set; }
    }
}
